package com.fuxue.service;

import com.fuxue.dto.*;
import com.fuxue.result.PageResult;
import com.fuxue.vo.ALLDetialsVO;
import com.fuxue.vo.KnowledgeVO;

public interface ForumService {

    PageResult pageQuery(ForumDTO forumDTO);

    PageResult pageAnswerQuery(ForumDTO forumDTO);

    ALLDetialsVO getALL(Integer id);

    void InsertKnowledge(KnowledgeDTO knowledgeDTO);

    KnowledgeVO getKnowledge(Integer id);

    void newCollect(CollectionDTO collectionDTO);

    PageResult questionCollectionPageQuery(CollectionPageDTO collectionPageDTO);

    PageResult AnswerCollectionPageQuery(CollectionPageDTO collectionPageDTO);

    PageResult userpageQuery(ForumDTO forumDTO);
}
